package com.krtech.wecard.module.pub.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;import com.baomidou.mybatisplus.extension.plugins.pagination.Page;import com.krtech.wecard.module.pub.dto.MyTnNotify;import com.krtech.wecard.module.pub.dto.NotifySearchDto;import com.krtech.wecard.module.pub.entity.TnNotify;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TnNotifyMapper extends BaseMapper<TnNotify> {
    int updateBatch(List<TnNotify> list);

    int batchInsert(@Param("list") List<TnNotify> list);

    IPage<MyTnNotify> getMyNotifyPage(@Param("notifySearchDto") NotifySearchDto notifySearchDto, @Param("page") Page<TnNotify> page);

    Integer getNoReadInfo(@Param("notifySearchDto") NotifySearchDto notifySearchDto);

    List<MyTnNotify> getMyNotifyList(@Param("notifySearchDto") NotifySearchDto notifySearchDto);
}